home *** CD-ROM | disk | FTP | other *** search
/ Shareware Avalanche! / Shareware Avalanche!.iso / os2 / prompts.txt < prev    next >
Text File  |  1992-07-25  |  1KB  |  29 lines

  1.  
  2. The following are two PROMPT commands that will set useful prompts for
  3. your OS/2 and DOS command prompts. They produce high-intensity white
  4. characters on a blue background (we have to use blue, you know). The
  5. format of both prompts is as follows:
  6.  
  7.   OS   Directory   Time    Day  Date
  8.  
  9. The 'OS' is 'OS/2' for an OS/2 command prompt and 'DOS' for MSDOS. The
  10. line shoiwn above is always at the top of the screen, and the actual
  11. prompt string is the standard DOS 'D>', where D is the drive. The prompt
  12. command saves and restores the cursor position so these strings act as
  13. 'normal' prompts.
  14.  
  15. The following should be included in your AUTOEXEC.DOS file:
  16.  
  17. prompt $e[s$e[24A$e[2D$e[K$e[1;37;44m   DOS     $p     $t$h$h$h     $d   $e[m$e[u$n$g
  18.  
  19. The following should be included in your OS/2 CONFIG.SYS file:
  20.  
  21. set prompt=$e[s$e[24A$e[2D$e[K$e[1;37;44m$s$s$sOS/2$s$s$s$s$s$p$s$s$s$s$s$t$h$h$h$s$s$s$s$s$d$s$s$s$e[m$e[u$n$g
  22.  
  23. You must have ANSI support enabled in both  your OS/2 and DOS sessions.
  24. I hope these strings make your work more pleasant.
  25.  
  26. Hal Endresen
  27.  
  28.  
  29.